<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>

<body>
<div class="form">
  <form action="<?php echo base_url() ?>encrypt/encode" method="post">
    字符串：<textarea name="text" onfocus="this.value=''">请输入加密内容</textarea>
    密钥：<input name="key" />
    <input type="submit" />
  </form>
</div>
<div class="from">
  <form action="<?php echo base_url() ?>encrypt/decode" method="post">
    密文：<textarea name="encrypted"  onfocus="this.value=''">请输入密文</textarea>
    密钥：<input name="key" />
    <input type="submit" />
  </form>
</div>
</body>
</html>
